<template>
	<div class="detail-warp">
    <el-button type="text">
      {{value}}</el-button>
	</div>
</template>

<script>
    export default {
        name: "detail",
        props: {
            size: {
                type: String,
                default: "small"
            },
            value: {
                type: String,
                default: ''
            }
        },
        data() {
            return {
                options: []
            };
        },

        mounted() {
            this.init();
        },
        methods: {
            async init() {
                const data = await this.$service.order.page();
                this.options = data.list;
            }
        }
    };
</script>

<style lang="scss" scoped>
    .select-warp {
        width: 100%;
    }
</style>